﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace csharp_mvcintro.Models
{
    // data model
    public class Todo
    {
        public string Task { get; set; }
        public string ChoreType  { get; set; }
        public bool IsCompleted { get; set; }
        public string AssignedTo { get; set; }
        public DateTime DateCreated { get; set; }
    }

    // view model for index page of Todos
    public class TodoVm
    {
        public string Greeting { get; set; }
        public List<Todo> MyList { get; set; }

    }

}